/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    color: #2ecc71;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2ecc71;
}

.nav-links a.active {
    color: #2ecc71;
    font-weight: bold;
}

.quick-nav-links a.active {
    color: #2ecc71;
    font-weight: bold;
}

/* 移除用户操作相关样式 */

/* 关于我们页面样式 */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../assets/imgs/about-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.about-hero-content {
    max-width: 800px;
    padding: 2rem;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.about-intro h2,
.about-history h2,
.about-culture h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 3rem;
    color: #2ecc71;
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: #2ecc71;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.year {
    background: #2ecc71;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
}

.timeline .content {
    width: 45%;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.culture-item {
    text-align: center;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.culture-item i {
    font-size: 3rem;
    color: #2ecc71;
    margin-bottom: 1.5rem;
}

.culture-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        flex-direction: column;
        margin-left: 20px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
    }

    .timeline .content {
        width: 100%;
        margin-top: 1rem;
    }

    .year {
        align-self: flex-start;
    }
}

/* 主要内容区域 */
main {
    margin-top: 80px; /* 导航栏高度 */
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../assets/imgs/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #2ecc71;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #27ae60;
}

/* 活动专区页面样式 */
.events-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../assets/imgs/events-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.events-hero-content {
    max-width: 800px;
    padding: 2rem;
}

.events-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.events-list {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.events-list h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.event-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    position: relative;
    height: 200px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #2ecc71;
    color: #fff;
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
}

.event-content {
    padding: 1.5rem;
}

.event-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.event-time,
.event-location {
    color: #666;
    margin-bottom: 0.5rem;
}

.event-time i,
.event-location i {
    margin-right: 0.5rem;
    color: #2ecc71;
}

.event-description {
    margin: 1rem 0;
    color: #666;
    line-height: 1.6;
}

.event-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #2ecc71;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.event-button:hover {
    background-color: #27ae60;
}

@media (max-width: 768px) {
    .events-hero h1 {
        font-size: 2rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* 特色区域样式 */
.features {
    padding: 4rem 5%;
    background-color: #f9f9f9;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 3rem;
    color: #2ecc71;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* 会员套餐样式 */
.membership {
    padding: 4rem 5%;
    background-color: #fff;
}

.membership h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.membership h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.membership-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.plan {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.plan.featured {
    transform: scale(1.05);
    border: 2px solid #2ecc71;
}

.plan h3 {
    color: #2ecc71;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.plan ul {
    list-style: none;
    margin-bottom: 2rem;
}

.plan li {
    margin-bottom: 0.5rem;
}

.plan-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #2ecc71;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.plan-button:hover {
    background-color: #27ae60;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    color: #2ecc71;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #2ecc71;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.social-link:hover {
    background-color: #2ecc71;
    transform: translateY(-3px);
}

.social-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #2ecc71;
    opacity: 0.3;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.social-link:hover::before {
    transform: scale(1.2);
}

.social-link i {
    font-size: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .user-actions {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .plan.featured {
        transform: none;
    }
}
.animated-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: 2px;
    animation: titleFadeIn 0.8s ease-out;
}

.title-underline {
    width: 60px;
    height: 3px;
    background-color: #2ecc71;
    margin: 0 auto;
    position: relative;
    animation: underlineWidth 0.8s ease-out;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underlineWidth {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}